 |
 |
 |
 |
#202672 - 04/02/04 03:57 PM
[6.7] [beta] Games 2.6.1 - Integrated
|
Master Hacker
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
|
Modification Name: Games 2.6.1 - Integrated Author(s): Ian Spence Description: Adds a game gallery to your forum Difference between this and Allen's version:This version is completely integrated with your UBB. Using who's online, you can tell what game a person is playing. This also uses the spider friendly links. Wordletized, so you can change names of games. (ie, Allen's mod had games' names in this format: "rigelianhotshots", whereas mine has "Rigelian Hot Shots" I've added the requested link at the top of forums. 2.6 adds use of cached pages and the PHP acclerator 2.6.1 adds the ability to restrict game access to members who can access certain forums. Also fixes the bug that allowed unregistered users to play games with the accelerator pages even if disabled in the .cgi pages Demo: http://www.alforadmin.com/ubb/ultimatebb.php/games.html Requirements: 6.7+ Credits: Allen and Burak for the original code. LK for the code for sorting. Josh Pettit for ubb.threads version - www.threadsdev.com Download Links: Current Version - Use if upgrading or first install (1.8mb) - only the flash/graphics files Download both zips if this is your first install.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202673 - 04/02/04 04:33 PM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
I type Like navaho
Registered: 03/10/00
Posts: 25580
Loc: Texas
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202681 - 05/09/04 02:11 AM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
Member
Registered: 01/31/03
Posts: 118
|
OK, so I downloaded this one, and I seem to have similiar problems to Hamr. 4 games show up and work just fine (Battleship, Rigelian Hot Shots, Sheepish, and Smashing).
The other 4 games show up like this, $vars_wordlets_games{crash}, $vars_wordlets_games{flash}, $vars_wordlets_games{paint}, and $vars_wordlets_games{rocketman}.
These last 4 do not work when you click the links initially but by changing the name of the game files, you can make then work. However, I'm still stuck with the $vars_wordlets_games game names... Any ideas? Thanks in advance...
P.S. I looked in vars_wordlets_games.cgi but I'm not savvy enough to figure out what I need to change.
_________________________
-GATOR
"Pain is temporary, Pride is forever"
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202685 - 05/09/04 04:21 AM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
Member
Registered: 01/31/03
Posts: 118
|
OK, I opened vars_wordlets_games.cgi and this is what I have below. I tried to make a correlation between the games that worked, the file names, and what was showing on the games page. %vars_wordlets_games = ( q!crashdown! => q!Crashdown!, q!battleships! => q!Battleships!, q!flashman! => q!Flash Man!, q!smashing! => q!Smashing!, q!rocketmandemo! => q!Rocket Man!, q!sheepish! => q!Sheepish!, q!stressgame! => q~Stress Relief! Paintball~, q!rigelianhotshots! => q!Rigelian Hot Shots!, File names battleships.swf - *WORKING* bg1.swf *Displays as $vars_wordlets_games{rocketman}* crashdownwm.swf *Displays as $vars_wordlets_games{crash}* flashmanwm.swf *Displays as $vars_wordlets_games{flash}* rigelian_hotshots.swf - Displays correct name, but error "Sorry I can not find the game 'rigelianhotshots' you requested!" rocketmandemo.swf sheepish.swf - *WORKING* smashing.swf - *WORKING* stressgame.swf *Displays as $vars_wordlets_games{paint}* This would almost all seem to make sense about what to do except for Rigelian Hotshots where it's listed in the code as q!rigelianhotshots! => q!Rigelian Hot Shots! and diplays correctly but the file and/or link name is wrong. So what is it I do where? Just trying to understand so that I can one day move past these kinds of questions. Thanks again...
_________________________
-GATOR
"Pain is temporary, Pride is forever"
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#202686 - 05/09/04 04:59 AM
Re: [6.7] [beta] Games 2.6.1 - Integrated
|
Moderator / Da Masta
Registered: 11/23/01
Posts: 2567
|
Ah... In that case, some of your Wordlets aren't matching. In other words, the script is looking for $vars_wordlets_games{rocketman}, but since $vars_wordlets_games{rocketman} doesn't exist in the Wordlets file (it's actually supposed to be $vars_wordlets_games{rocketmandemo}, which does exist) then it won't display as it should. Any clearer? If not, don't worry. This is what the part of vars_wordlets_games.cgi that you posted should look like: %vars_wordlets_games = (
q!crash! => q!Crashdown!,
q!battleships! => q!Battleships!,
q!flash! => q!Flash Man!,
q!smashing! => q!Smashing!,
q!rocketman! => q!Rocket Man!,
q!sheepish! => q!Sheepish!,
q!paint! => q~Stress Relief! Paintball~,
q!rigelianhotshots! => q!Rigelian Hot Shots!, 
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|